package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel("BasicLog")
@Table("basic_log")
public class BasicLog implements Serializable {

    @ApiModelProperty(value = "操作时间", name = "opDate")
    @Column(value = "op_date", text = "操作时间", maxLength = 13)
    private Date opDate;


    @ApiModelProperty(value = "操作地址", name = "opUrl")
    @Column(value = "op_url", text = "操作地址", maxLength = 150)
    private String opUrl;


    @ApiModelProperty(value = "操作ip", name = "opIp")
    @Column(value = "op_ip", text = "操作ip", maxLength = 100)
    private String opIp;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "操作用户", name = "opUser")
    @Column(value = "op_user", text = "操作用户", maxLength = 32)
    private String opUser;


    @ApiModelProperty(value = "操作描述", name = "opReson")
    @Column(value = "op_reson", text = "操作描述", maxLength = 32767)
    private String opReson;

    public Date getOpDate() {
        return opDate;
    }

    public void setOpDate(Date opDate) {
        this.opDate = opDate;
    }

    public String getOpUrl() {
        return opUrl;
    }

    public void setOpUrl(String opUrl) {
        this.opUrl = opUrl;
    }

    public String getOpIp() {
        return opIp;
    }

    public void setOpIp(String opIp) {
        this.opIp = opIp;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOpUser() {
        return opUser;
    }

    public void setOpUser(String opUser) {
        this.opUser = opUser;
    }

    public String getOpReson() {
        return opReson;
    }

    public void setOpReson(String opReson) {
        this.opReson = opReson;
    }
}
